< previous page page_281 next page >

Page 281
Chapter 10
Fractals and Tilings
This chapter shows several techniques for producing amazing fractal and tiled images. While the sections that follow mention some of the mathematics behind fractals, chaos, and tilings, they concentrate more on drawing interesting graphics rather than on explaining mathematical theory. For the hardcore mathematics, you should read a book about fractals or chaos theory.
Fractals
Simply defined, without a morass of mathematical definitions, a fractal is a curve with fractional dimension. Simple curves, like a line segment or the edge of an ellipse, are one-dimensional objects. Filled shapes, like rectangles and circles, have two dimensions. In some strange way, many fractals seem to have more than one dimension but fewer than two. The tree in Figure 10.1, for example, does not cover a two-dimensional area as completely as a square does. Yet as the tree grows more and more complicated, it seems to cover more area than a simple one-dimensional line segment.
Fractals have several interesting properties. Many are self-similar. That means parts of the curve resemble the whole curve. The tree in Figure 10.1, for instance, is made up of a trunk attached to two branches. Each of those branches is a smaller tree that looks just like a copy of the larger tree that has been rotated and shrunk. At every part of the tree, you will find branches that resemble the tree as a whole.
Many other fractals, while self-similar, do not repeat themselves exactly. If you explore the Mandelbrot set, you will find parts of it that closely resemble the set as a whole. When you look closer, you will find slight differences in these areas. While every position in the tree in Figure 10.1 looks exactly like the tree as a whole, parts of the Mandelbrot set are similar but not identical to the whole.
Many fractals are produced by remarkably simple methods. The Mandelbrot set is generated by repeated evaluation of the equation Zn+1 = Zn2 + C, where the Zn and C are complex

 
< previous page page_281 next page >